package com.nervenets.template.controller.user.params;

import com.alibaba.fastjson.JSONObject;
import com.nervenets.general.web.params.Params;
import com.nervenets.template.enumeration.Gender;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class UserInfoUpdateParams implements Params {
    @ApiModelProperty(value = "昵称，不传不更新")
    private String name;
    @ApiModelProperty(value = "头像，不传不更新")
    private String avatar;
    @ApiModelProperty(value = "性别，不传不更新")
    private Gender gender;
    @ApiModelProperty(value = "省份，不传不更新")
    private String province;
    @ApiModelProperty(value = "城市，不传不更新")
    private String city;
    @ApiModelProperty(value = "经度，不传不更新")
    private double longitude = 0;
    @ApiModelProperty(value = "纬度，不传不更新")
    private double latitude = 0;
    @ApiModelProperty(value = "邀请码，不传不更新")
    private long inviteUserId;
    @ApiModelProperty(value = "附加内容，JSON对象，key为字段，value为值，不传不更新")
    private JSONObject extra;
    @ApiModelProperty(value = "生日")
    private long birthday;

}
